 {layout name="layout/layout" /}
<div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
	<ul class="layui-tab-title">
		<li class="layui-this">编辑</li>
	</ul>
</div>
<form class="layui-form" method="post" action="{:Url('admin/help/edit_from')}">
	<div class="layui-form-item">
		<label class="layui-form-label">问题</label>
		<div class="layui-input-block">
			<input class="layui-input" type="text" name="problem" value="{$data->problem}" />
		</div>
	</div>
	<div class="layui-form-item layui-form-text">
		<label class="layui-form-label">答案</label>
		<div class="layui-input-block">
			<textarea class="layui-textarea" name="answer">{$data->answer}</textarea>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">排序</label>
		<div class="layui-input-block">
			<input class="layui-input" type="text" name="sort" value="{$data->sort}" />
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-input-block">
				<input type="hidden" name="id" value="{$data->id}">
				<input class="layui-btn" type="button" value="保存" onclick="this.form.submit()">
		</div>
	</div>
</form>